import axios from '@/request/http'

// 获取物品管理列表
function getGoodsList(params: any) {
    return axios.get('/api/rest/items', {
        params
    })
}

// 新增物品
function addGoodsItem(params: any) {
    return axios.post('/api/rest/items', params)
}

export {
    getGoodsList,
    addGoodsItem
}
